<?php
include('../includes/modules/database/connect.php');
include('../includes/modules/database/function_sanpham.php');
$idSanPham=$_GET['idSP'];
$idChungLoai=$_GET['idCL'];
//var_dump($idSanPham);exit();
if(xoaSanPham($idSanPham))
{
	//echo 'successfull!';
	header('location: show_sanpham.php?id='.$idChungLoai);
}
else
{
	echo 'error!!!';
}
?>